package hcn.protocol.ods.returnVisit;

import java.util.List;
import java.util.Map;

/**
 * Created by ChenJij on 2019/11/28.
 */
public class DrugInformationResponseBean {

    /**
     * total : 9224
     * list : [{"drugId":"924","drugName":"β-七叶皂甙钠针","factoryId":"885","factoryName":"武汉爱民制药厂","specifications":"10mg","unit":"支","price":23.1,"conversionValue":1,"defaultDose":0,"drugDose":10,"doseUnit":"mg","inventory":1100,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":null,"usageName":null,"drugAuthority":{"010106":"非限制使用级抗生素(一级)"}},{"drugId":"924","drugName":"β-七叶皂甙钠针","factoryId":"885","factoryName":"武汉爱民制药厂","specifications":"10mg","unit":"支","price":23.1,"conversionValue":1,"defaultDose":0,"drugDose":10,"doseUnit":"mg","inventory":3020,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":null,"usageName":null,"drugAuthority":{"010106":"非限制使用级抗生素(一级)"}},{"drugId":"448","drugName":"10%GS(科伦）","factoryId":"907","factoryName":"自制药品","specifications":"250ml","unit":"瓶","price":4.2,"conversionValue":1,"defaultDose":0,"drugDose":250,"doseUnit":"ml","inventory":3063,"drugCode":null,"apprDrugCode":"","apprDrugName":"客轮","drugGrade":"甲类","usageCode":"4","usageName":"外用","drugAuthority":{"010106":"非限制使用级抗生素(一级)"}},{"drugId":"492","drugName":"11-氨基酸","factoryId":"1","factoryName":"国产","specifications":"250mg","unit":"瓶","price":16,"conversionValue":1,"defaultDose":0,"drugDose":250,"doseUnit":"mg","inventory":3024,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":null,"usageName":null,"drugAuthority":{"010106":"非限制使用级抗生素(一级)"}},{"drugId":"611","drugName":"17-氨基酸","factoryId":"1","factoryName":"国产","specifications":"250mg","unit":"瓶","price":19.7,"conversionValue":1,"defaultDose":0,"drugDose":250,"doseUnit":"mg","inventory":3007,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":null,"usageName":null,"drugAuthority":{}},{"drugId":"1999","drugName":"5%葡萄糖液","factoryId":"1000","factoryName":"医院制剂","specifications":"250ml","unit":"瓶","price":4.3,"conversionValue":1,"defaultDose":3,"drugDose":1,"doseUnit":"ml","inventory":900,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"乙类","usageCode":"3","usageName":"静滴","drugAuthority":{}},{"drugId":"877","drugName":"5-Fu针","factoryId":"686","factoryName":"天津金耀","specifications":"0.25g:10","unit":"支","price":1.96,"conversionValue":5,"defaultDose":0,"drugDose":0.25,"doseUnit":"g","inventory":2160,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":null,"usageName":null,"drugAuthority":{}},{"drugId":"877","drugName":"5-Fu针","factoryId":"686","factoryName":"天津金耀","specifications":"0.25g:10ml","unit":"支","price":1.96,"conversionValue":5,"defaultDose":0,"drugDose":0.25,"doseUnit":"g","inventory":3200,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":null,"usageName":null,"drugAuthority":{}},{"drugId":"8973","drugName":"aaaaaaa","factoryId":"891","factoryName":"沈阳济世制药","specifications":"0.3g[3]","unit":"盒","price":0.383333,"conversionValue":3,"defaultDose":0,"drugDose":0.3,"doseUnit":"g","inventory":5223,"drugCode":"01101112","apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":null,"usageName":null,"drugAuthority":{}},{"drugId":"1737","drugName":"氨苄丙磺舒(艾罗迪)","factoryId":"587","factoryName":"长春盖普","specifications":"0.25*12","unit":"盒","price":22,"conversionValue":1,"defaultDose":0.8,"drugDose":0.25,"doseUnit":"g","inventory":1000,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":"3","usageName":"静滴","drugAuthority":{}},{"drugId":"1737","drugName":"氨苄丙磺舒(艾罗迪)","factoryId":"587","factoryName":"长春盖普","specifications":"0.25*12","unit":"盒","price":22,"conversionValue":1,"defaultDose":0.8,"drugDose":0.25,"doseUnit":"g","inventory":4000,"drugCode":null,"apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":"3","usageName":"静滴","drugAuthority":{}},{"drugId":"391","drugName":"氨苯喋啶片","factoryId":"2076","factoryName":"济南永宁","specifications":"50mg","unit":"片","price":0.075,"conversionValue":100,"defaultDose":50,"drugDose":50,"doseUnit":"mg","inventory":1000,"drugCode":"1001","apprDrugCode":"","apprDrugName":null,"drugGrade":"甲类","usageCode":"19","usageName":"含漱","drugAuthority":{}}]
     */

    private int total;
    private List<ListBean> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * drugId : 924
         * drugName : β-七叶皂甙钠针
         * factoryId : 885
         * factoryName : 武汉爱民制药厂
         * specifications : 10mg
         * unit : 支
         * price : 23.1
         * conversionValue : 1
         * defaultDose : 0
         * drugDose : 10
         * doseUnit : mg
         * inventory : 1100
         * drugCode : null
         * apprDrugCode :
         * apprDrugName : null
         * drugGrade : 甲类
         * usageCode : null
         * usageName : null
         * drugAuthority : {"010106":"非限制使用级抗生素(一级)"}
         */

        private String drugId;
        private String drugName;
        private String factoryId;
        private String factoryName;
        private String specifications;
        private String unit;
        private double price;
        private int conversionValue;
        private int defaultDose;
        private int drugDose;
        private String doseUnit;
        private int inventory;
        private Object drugCode;
        private String apprDrugCode;
        private Object apprDrugName;
        private String drugGrade;
        private Object usageCode;
        private Object usageName;
        private Map<String, Object> drugAuthority;

        public String getDrugId() {
            return drugId;
        }

        public void setDrugId(String drugId) {
            this.drugId = drugId;
        }

        public String getDrugName() {
            return drugName;
        }

        public void setDrugName(String drugName) {
            this.drugName = drugName;
        }

        public String getFactoryId() {
            return factoryId;
        }

        public void setFactoryId(String factoryId) {
            this.factoryId = factoryId;
        }

        public String getFactoryName() {
            return factoryName;
        }

        public void setFactoryName(String factoryName) {
            this.factoryName = factoryName;
        }

        public String getSpecifications() {
            return specifications;
        }

        public void setSpecifications(String specifications) {
            this.specifications = specifications;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getConversionValue() {
            return conversionValue;
        }

        public void setConversionValue(int conversionValue) {
            this.conversionValue = conversionValue;
        }

        public int getDefaultDose() {
            return defaultDose;
        }

        public void setDefaultDose(int defaultDose) {
            this.defaultDose = defaultDose;
        }

        public int getDrugDose() {
            return drugDose;
        }

        public void setDrugDose(int drugDose) {
            this.drugDose = drugDose;
        }

        public String getDoseUnit() {
            return doseUnit;
        }

        public void setDoseUnit(String doseUnit) {
            this.doseUnit = doseUnit;
        }

        public int getInventory() {
            return inventory;
        }

        public void setInventory(int inventory) {
            this.inventory = inventory;
        }

        public Object getDrugCode() {
            return drugCode;
        }

        public void setDrugCode(Object drugCode) {
            this.drugCode = drugCode;
        }

        public String getApprDrugCode() {
            return apprDrugCode;
        }

        public void setApprDrugCode(String apprDrugCode) {
            this.apprDrugCode = apprDrugCode;
        }

        public Object getApprDrugName() {
            return apprDrugName;
        }

        public void setApprDrugName(Object apprDrugName) {
            this.apprDrugName = apprDrugName;
        }

        public String getDrugGrade() {
            return drugGrade;
        }

        public void setDrugGrade(String drugGrade) {
            this.drugGrade = drugGrade;
        }

        public Object getUsageCode() {
            return usageCode;
        }

        public void setUsageCode(Object usageCode) {
            this.usageCode = usageCode;
        }

        public Object getUsageName() {
            return usageName;
        }

        public void setUsageName(Object usageName) {
            this.usageName = usageName;
        }

        public Map<String, Object> getDrugAuthority() {
            return drugAuthority;
        }

        public void setDrugAuthority(Map<String, Object> drugAuthority) {
            this.drugAuthority = drugAuthority;
        }
    }
}